package com.gbiac.modules.monitor.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gbiac.modules.monitor.model.dto.AttendanceDTO;
import com.gbiac.modules.monitor.model.query.ViolationStatisticsReportQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 违规提醒记录
 * @Author: jeecg-boot
 * @Date:   2024-11-30
 * @Version: V1.0
 */
public interface ViolationReportMapper extends BaseMapper {


    Page<JSONObject> queryUserReport(@Param("page") Page page, @Param("query") ViolationStatisticsReportQuery violationStatisticsReportQuery,@Param("query1") AttendanceDTO attendanceDTO);

    List<JSONObject> queryUserReportDetail(@Param("id") String id, @Param("query") ViolationStatisticsReportQuery violationStatisticsReportQuery,@Param("query1") AttendanceDTO attendanceDTO);

    Page<JSONObject> querySeatReport(@Param("page") Page page, @Param("query") ViolationStatisticsReportQuery violationStatisticsReportQuery,@Param("query1") AttendanceDTO attendanceDTO);

    List<JSONObject> querySeatReportDetail(@Param("id") String id,@Param("query")  ViolationStatisticsReportQuery violationStatisticsReportQuery,@Param("query1") AttendanceDTO attendanceDTO);
}
